import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '项目',
    align: "center", resizable: true,
    dataIndex: 'projectId_dictText'
  },
  {
    title: '子项目',
    align: "center", resizable: true,
    dataIndex: 'subProjectId_dictText'
  },
  
  {
    title: '任务',
    align: "center", resizable: true,
    dataIndex: 'subTaskId_dictText'
  },
  {
    title: '开票金额',
    align: "center", resizable: true,
    dataIndex: 'invoiceAmount'
  },
  
  {
    title: '开票状态',
    align: "center", resizable: true,
    dataIndex: 'status'
  },
  {
    title: '操作',
    align: "center", resizable: true,
    dataIndex: 'btn'
  },
  
];

// 高级查询数据
export const superQuerySchema = {
  projectId: {title: '项目',order: 0,view: 'text', type: 'string',},
  invoiceAmount: {title: '开票金额',order: 1,view: 'number', type: 'number',},
  attachmentUrl: {title: '附件URL',order: 2,view: 'text', type: 'string',},
  status: {title: '开票状态',order: 3,view: 'text', type: 'string',},
  fileRecordId: {title: '关联文件记录ID',order: 4,view: 'text', type: 'string',},
};
